package com.ahui.mallchat.common.chat.service;

import com.ahui.mallchat.common.chat.domain.vo.req.admin.AdminAddReq;
import com.ahui.mallchat.common.chat.domain.vo.req.admin.AdminRevokeReq;
import com.ahui.mallchat.common.chat.domain.vo.req.member.MemberExitReq;

/**
 * Author:ahui
 * Description:
 * Date: 2024/7/31 15:24
 */
public interface IGroupMemberService {
    /**
     * 退出群聊
     * @param uid
     * @param request
     */
    void exitGroup(Long uid, MemberExitReq request);

    /**
     * 增加管理员
     * @param uid
     * @param request
     */
    void addAdmin(Long uid, AdminAddReq request);

    /**
     * 撤销管理员
     * @param uid
     * @param request
     */
    void revokeAdmin(Long uid, AdminRevokeReq request);

}
